package com.dx.architectureddd.infrastructure.impl;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 用户
 *
 * @author xin.deng
 * @date 2023/10/27
 */
@Data
@TableName("user")
public class SysUser implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    @TableId
    private Long userId;
    /**
     * 等级名称
     */
    private String userPassword;
    /**
     * 等级需要的成长值
     */
    private String userName;
    /**
     * 是否为默认等级[0->不是；1->是]
     */
    private Integer userIdcardType;

    private String userIdcardNo;

    private Integer userSex;

    private LocalDateTime userBirth;

    private String userPhone;

    private Integer userStatus;

    private LocalDateTime userCreatTime;

}
